Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and and roomtype.br = 7 and roomtype.Size1 >= 300 and roomtype.Size1 <=400 and (' at line 1 in /www/sites/fullhomechina.com/index/city/php/db.php:8
Stack trace:
#0 /www/sites/fullhomechina.com/index/city/php/db.php(8): PDO->query('select count(*)...')
#1 /www/sites/fullhomechina.com/index/city/property-resault.php(260): dbselect(0, 1, 0, 'roomtype left J...', 'roomtype.br,\n ...', ' and roomtype.m...', 'roomtype.rental...')
#2 {main}
thrown in
/www/sites/fullhomechina.com/index/city/php/db.php on line
8